package csu.web.mypetstore.service;

import csu.web.mypetstore.pojo.Account;
import com.baomidou.mybatisplus.extension.service.IService;
import csu.web.mypetstore.pojo.Signon;

import java.sql.Connection;
import java.sql.PreparedStatement;


public interface AccountService extends IService<Account> {

    Account getAccount(String username, String password);
    Account getAccount(String username);
    void insertAccount(String username,String password,String email, String firstName, String lastName, String status, String address1, String address2, String city, String state, Integer zip, String country, String phone);
    void insertProfile(String username,String langpref,String favcategory);
    void insertSignon(String username,String passowrd,String image);
    void updateSignon(String username,String password);
    void updateAccount(String email,String firstname,String lastname,String addr1,String addr2,String city,String state,String zip,String country,String phone,String username);
    public void deleteAccount(String username);
    public void updateAccount(Account account);
}
